import { createStore, createLogger } from 'vuex'
import play from '@/store/modules/play'

const debug = process.env.NODE_ENV !== 'production'

export default createStore({
  state: {},
  mutations: {},
  actions: {},
  modules: {
    play
  },
  plugins: debug ? [createLogger()] : [],
  strict: debug
})
